package com.snoopy.gas1.service;

import com.snoopy.gas1.entity.Oil_info;
import java.util.List;

public interface Oil_infoService {
    static List<Oil_info> listAll() {
        return null;
    }

    List<Oil_info> lists();

    List<Oil_info> searchByName(String name);

    Oil_info getById(int id);

    int update(Oil_info oilInfo);

    boolean existsById(int oilId);

    int add(Oil_info oilInfo);

    void deleteById(int id);

    Object getAllOils();
}
